package com.lidong.zc.databasemodel.annotation;

import java.lang.annotation.*;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/8/2022 9:37 PM
 */
// This annotation is used to field
@Target(ElementType.FIELD)
// When  run is  effective
@Retention(RetentionPolicy.RUNTIME)
// Java document annotation
@Documented
public @interface DefaultValue {

    /**
     * 字段的默认值
     *
     * @return 字段的默认值
     */
    String value();

}
